<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>JSDoc: Class: PixelEngine</title>

    <script src="scripts/prettify/prettify.js"> </script>
    <script src="scripts/prettify/lang-css.js"> </script>
    <!--[if lt IE 9]>
      <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
    <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>

<body>

<div id="main">

    <h1 class="page-title">Class: PixelEngine</h1>

    




<section>

<header>
    
        <h2><span class="attribs"><span class="type-signature"></span></span>PixelEngine<span class="signature">()</span><span class="type-signature"></span></h2>
        
            <div class="class-description">PixelEngine</div>
        
    
</header>

<article>
    <div class="container-overview">
    
        

    
    <h2>Constructor</h2>
    

    
    <h4 class="name" id="PixelEngine"><span class="type-signature"></span>new PixelEngine<span class="signature">()</span><span class="type-signature"></span></h4>
    

    















<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="v8api2.js.html">v8api2.js</a>, <a href="v8api2.js.html#line42">line 42</a>
    </li></ul></dd>
    

    

    

    
</dl>




















    
    </div>

    

    

    

    

    

    

    
        <h3 class="subsection-title">Members</h3>

        
            
<h4 class="name" id="CompositeMethodAve"><span class="type-signature"></span>CompositeMethodAve<span class="type-signature"></span></h4>




<div class="description">
    合成方法类型，平均合成，常量值为3.
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="v8api2.js.html">v8api2.js</a>, <a href="v8api2.js.html#line96">line 96</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="CompositeMethodCnt"><span class="type-signature"></span>CompositeMethodCnt<span class="type-signature"></span></h4>




<div class="description">
    合成方法类型，计数合成，常量值为5.
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="v8api2.js.html">v8api2.js</a>, <a href="v8api2.js.html#line104">line 104</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="CompositeMethodMax"><span class="type-signature"></span>CompositeMethodMax<span class="type-signature"></span></h4>




<div class="description">
    合成方法类型，最大合成，常量值为2.
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="v8api2.js.html">v8api2.js</a>, <a href="v8api2.js.html#line92">line 92</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="CompositeMethodMin"><span class="type-signature"></span>CompositeMethodMin<span class="type-signature"></span></h4>




<div class="description">
    合成方法类型，最小合成，常量值为1.
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="v8api2.js.html">v8api2.js</a>, <a href="v8api2.js.html#line88">line 88</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="CompositeMethodSum"><span class="type-signature"></span>CompositeMethodSum<span class="type-signature"></span></h4>




<div class="description">
    合成方法类型，求和合成，常量值为4.
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="v8api2.js.html">v8api2.js</a>, <a href="v8api2.js.html#line100">line 100</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="DataTypeByte"><span class="type-signature"></span>DataTypeByte<span class="type-signature"></span></h4>




<div class="description">
    单字节数据类型，该常量值为1。
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="v8api2.js.html">v8api2.js</a>, <a href="v8api2.js.html#line48">line 48</a>
    </li></ul></dd>
    

    

    

    
</dl>





    <h5>Example</h5>
    
    <pre class="prettyprint"><code>let dt=pe.DataTypeByte;</code></pre>



        
            
<h4 class="name" id="DataTypeFloat32"><span class="type-signature"></span>DataTypeFloat32<span class="type-signature"></span></h4>




<div class="description">
    四字节浮点数据类型，该常量值为6。
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="v8api2.js.html">v8api2.js</a>, <a href="v8api2.js.html#line78">line 78</a>
    </li></ul></dd>
    

    

    

    
</dl>





    <h5>Example</h5>
    
    <pre class="prettyprint"><code>let dt=pe.DataTypeFloat32;</code></pre>



        
            
<h4 class="name" id="DataTypeFloat64"><span class="type-signature"></span>DataTypeFloat64<span class="type-signature"></span></h4>




<div class="description">
    八字节浮点数据类型，该常量值为7。
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="v8api2.js.html">v8api2.js</a>, <a href="v8api2.js.html#line84">line 84</a>
    </li></ul></dd>
    

    

    

    
</dl>





    <h5>Example</h5>
    
    <pre class="prettyprint"><code>let dt=pe.DataTypeFloat64;</code></pre>



        
            
<h4 class="name" id="DataTypeInt16"><span class="type-signature"></span>DataTypeInt16<span class="type-signature"></span></h4>




<div class="description">
    两字节有符号整型数据类型，该常量值为3。
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="v8api2.js.html">v8api2.js</a>, <a href="v8api2.js.html#line60">line 60</a>
    </li></ul></dd>
    

    

    

    
</dl>





    <h5>Example</h5>
    
    <pre class="prettyprint"><code>let dt=pe.DataTypeInt16;</code></pre>



        
            
<h4 class="name" id="DataTypeInt32"><span class="type-signature"></span>DataTypeInt32<span class="type-signature"></span></h4>




<div class="description">
    四字节有符号整型数据类型，该常量值为5。
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="v8api2.js.html">v8api2.js</a>, <a href="v8api2.js.html#line72">line 72</a>
    </li></ul></dd>
    

    

    

    
</dl>





    <h5>Example</h5>
    
    <pre class="prettyprint"><code>let dt=pe.DataTypeInt32;</code></pre>



        
            
<h4 class="name" id="DataTypeUint16"><span class="type-signature"></span>DataTypeUint16<span class="type-signature"></span></h4>




<div class="description">
    两字节无符号整型数据类型，该常量值为2。
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="v8api2.js.html">v8api2.js</a>, <a href="v8api2.js.html#line54">line 54</a>
    </li></ul></dd>
    

    

    

    
</dl>





    <h5>Example</h5>
    
    <pre class="prettyprint"><code>let dt=pe.DataTypeUint16;</code></pre>



        
            
<h4 class="name" id="DataTypeUint32"><span class="type-signature"></span>DataTypeUint32<span class="type-signature"></span></h4>




<div class="description">
    四字节无符号整型数据类型，该常量值为4。
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="v8api2.js.html">v8api2.js</a>, <a href="v8api2.js.html#line66">line 66</a>
    </li></ul></dd>
    

    

    

    
</dl>





    <h5>Example</h5>
    
    <pre class="prettyprint"><code>let dt=pe.DataTypeUint32;</code></pre>



        
    

    
        <h3 class="subsection-title">Methods</h3>

        
            

    

    
    <h4 class="name" id="DataFile"><span class="type-signature"></span>DataFile<span class="signature">()</span><span class="type-signature"></span></h4>
    

    



<div class="description">
    等待补充
</div>













<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="v8api2.js.html">v8api2.js</a>, <a href="v8api2.js.html#line167">line 167</a>
    </li></ul></dd>
    

    

    

    
</dl>




















        
            

    

    
    <h4 class="name" id="Dataset"><span class="type-signature"></span>Dataset<span class="signature">(datasetName, datetime, bandIndices)</span><span class="type-signature"> &rarr; {<a href="Dataset.html">Dataset</a>}</span></h4>
    

    



<div class="description">
    从后台获取某个数据集的瓦片数据。
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>datasetName</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">数据集名称，使用通常命名变量的规则进行定义，与后台协商好即可，没有强制要求，建议使用文件路径的形式表示，比如 GFS/TEMP/5000M , FY3D/MERSI/L2/NVI/MON。</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>datetime</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>

            

            

            <td class="description last">数据日期时间，这里只要和后台协商好即可没有强制要求，建议采用yyyyMMddHHmmss 14位数字表示日期和时间。</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>bandIndices</code></td>
            

            <td class="type">
            
                
<span class="param-type">*</span>


            
            </td>

            

            

            <td class="description last">波段索引值的数组，可选参数，省略该参数返回全部波段。</td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="v8api2.js.html">v8api2.js</a>, <a href="v8api2.js.html#line151">line 151</a>
    </li></ul></dd>
    

    

    

    
</dl>















<h5>Returns:</h5>

        
<div class="param-desc">
    成功返回Dataset瓦片数据对象，失败返回null.
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="Dataset.html">Dataset</a></span>


    </dd>
</dl>

    




    <h5>Example</h5>
    
    <pre class="prettyprint"><code>let dataset=pe.Dataset("GFS/TEMP/5000M", 20240101000000);</code></pre>



        
            

    

    
    <h4 class="name" id="DatasetArray"><span class="type-signature"></span>DatasetArray<span class="signature">()</span><span class="type-signature"></span></h4>
    

    



<div class="description">
    等待补充
</div>













<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="v8api2.js.html">v8api2.js</a>, <a href="v8api2.js.html#line162">line 162</a>
    </li></ul></dd>
    

    

    

    
</dl>



















    <h5>Examples</h5>
    
    <pre class="prettyprint"><code>pe.DatasetCollection("dsname",[20010101030405,...])</code></pre>

    <pre class="prettyprint"><code>pe.DatasetCollection("dsname",datetimeCollection)</code></pre>



        
            

    

    
    <h4 class="name" id="LocalBuildDtCollectionByStopDt"><span class="type-signature"></span>LocalBuildDtCollectionByStopDt<span class="signature">(year, month, day, ndaysBefore)</span><span class="type-signature"> &rarr; {<a href="DateTimeCollection.html">DateTimeCollection</a>}</span></h4>
    

    



<div class="description">
    根据输入年月日和天数，输出时间数据集。
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>year</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>

            

            

            <td class="description last"></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>month</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>

            

            

            <td class="description last"></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>day</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>

            

            

            <td class="description last"></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>ndaysBefore</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>

            

            

            <td class="description last"></td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="v8api2.js.html">v8api2.js</a>, <a href="v8api2.js.html#line204">line 204</a>
    </li></ul></dd>
    

    

    

    
</dl>















<h5>Returns:</h5>

        


<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="DateTimeCollection.html">DateTimeCollection</a></span>


    </dd>
</dl>

    




    <h5>Example</h5>
    
    <pre class="prettyprint"><code>需要完善const dtcollection=pe.LocalBuildDtCollectionByStopDt(2024,5,1,10);</code></pre>



        
            

    

    
    <h4 class="name" id="NewDataset"><span class="type-signature"></span>NewDataset<span class="signature">(datatype, width, height, nband)</span><span class="type-signature"> &rarr; {<a href="Dataset.html">Dataset</a>}</span></h4>
    

    



<div class="description">
    创建一个空瓦片数据
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>datatype</code></td>
            

            <td class="type">
            
                
<span class="param-type">*</span>


            
            </td>

            

            

            <td class="description last">数据类型pe.DataTypeByte等</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>width</code></td>
            

            <td class="type">
            
                
<span class="param-type">*</span>


            
            </td>

            

            

            <td class="description last">瓦片数据宽度必须256，以后可能会支持不同瓦片尺寸</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>height</code></td>
            

            <td class="type">
            
                
<span class="param-type">*</span>


            
            </td>

            

            

            <td class="description last">瓦片数据宽度必须256，以后可能会支持不同瓦片尺寸</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>nband</code></td>
            

            <td class="type">
            
                
<span class="param-type">*</span>


            
            </td>

            

            

            <td class="description last">瓦片数据波段数，必须大于0</td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="v8api2.js.html">v8api2.js</a>, <a href="v8api2.js.html#line122">line 122</a>
    </li></ul></dd>
    

    

    

    
</dl>















<h5>Returns:</h5>

        
<div class="param-desc">
    返回瓦片数据
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="Dataset.html">Dataset</a></span>


    </dd>
</dl>

    




    <h5>Example</h5>
    
    <pre class="prettyprint"><code>//构建一个三波段256x256瓦片数据。var dataset=pe.NewDataset(pe.DataTypeByte,256,256,3);</code></pre>



        
            

    

    
    <h4 class="name" id="NewDataset"><span class="type-signature"></span>NewDataset<span class="signature">(datatype, w, h, nb, initval)</span><span class="type-signature"> &rarr; {<a href="Dataset.html">Dataset</a>}</span></h4>
    

    



<div class="description">
    创建一个空瓦片数据，并使用初始值初始化全部像素值。
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>datatype</code></td>
            

            <td class="type">
            
                
<span class="param-type">*</span>


            
            </td>

            

            

            <td class="description last">数据类型pe.DataTypeByte等</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>w</code></td>
            

            <td class="type">
            
                
<span class="param-type">*</span>


            
            </td>

            

            

            <td class="description last">瓦片数据宽度必须256，以后可能会支持不同瓦片尺寸</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>h</code></td>
            

            <td class="type">
            
                
<span class="param-type">*</span>


            
            </td>

            

            

            <td class="description last">瓦片数据宽度必须256，以后可能会支持不同瓦片尺寸</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>nb</code></td>
            

            <td class="type">
            
                
<span class="param-type">*</span>


            
            </td>

            

            

            <td class="description last">瓦片数据波段数，必须大于0</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>initval</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>

            

            

            <td class="description last">初始值</td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="v8api2.js.html">v8api2.js</a>, <a href="v8api2.js.html#line137">line 137</a>
    </li></ul></dd>
    

    

    

    
</dl>















<h5>Returns:</h5>

        
<div class="param-desc">
    返回瓦片数据
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="Dataset.html">Dataset</a></span>


    </dd>
</dl>

    




    <h5>Example</h5>
    
    <pre class="prettyprint"><code>let ds=pe.NewDataset(pe.DataTypeByte,256,256,1,255);</code></pre>



        
            

    

    
    <h4 class="name" id="RemoteBuildDtCollections"><span class="type-signature"></span>RemoteBuildDtCollections<span class="signature">(dsName, wholeStart, wholeStartInc, wholeStop, wholeStopInc, repeatType, repeatStart, repeatStartInc, repeatStop, repeatStopInc, repeatStopNextYear)</span><span class="type-signature"> &rarr; {<a href="DateTimeCollection.html">DateTimeCollection</a>}</span></h4>
    

    



<div class="description">
    构建某个数据集的时间集合。
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>dsName</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">数据集名称。</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>wholeStart</code></td>
            

            <td class="type">
            
                
<span class="param-type">*</span>


            
            </td>

            

            

            <td class="description last">整体开始日期时间。</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>wholeStartInc</code></td>
            

            <td class="type">
            
                
<span class="param-type">*</span>


            
            </td>

            

            

            <td class="description last">是否包含开始日期时间，取值0或者1.</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>wholeStop</code></td>
            

            <td class="type">
            
                
<span class="param-type">*</span>


            
            </td>

            

            

            <td class="description last">整体结束日期时间。</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>wholeStopInc</code></td>
            

            <td class="type">
            
                
<span class="param-type">*</span>


            
            </td>

            

            

            <td class="description last">是否包含结束日期时间，取值0或者1.</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>repeatType</code></td>
            

            <td class="type">
            
                
<span class="param-type">*</span>


            
            </td>

            

            

            <td class="description last">重复周期，取值"" 无重复周期 ,"m" 按月重复 ,"y" 按年重复.</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>repeatStart</code></td>
            

            <td class="type">
            
                
<span class="param-type">*</span>


            
            </td>

            

            

            <td class="description last">重复周期开始。</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>repeatStartInc</code></td>
            

            <td class="type">
            
                
<span class="param-type">*</span>


            
            </td>

            

            

            <td class="description last">重复周期是否包含开始时间，0或者1.</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>repeatStop</code></td>
            

            <td class="type">
            
                
<span class="param-type">*</span>


            
            </td>

            

            

            <td class="description last">重复周期结束。</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>repeatStopInc</code></td>
            

            <td class="type">
            
                
<span class="param-type">*</span>


            
            </td>

            

            

            <td class="description last">重复周期是否包含结束时间，0或者1.</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>repeatStopNextYear</code></td>
            

            <td class="type">
            
                
<span class="param-type">*</span>


            
            </td>

            

            

            <td class="description last">重复周期结束日期是否跨年，0表示不跨年，1表示跨一年，2表示跨2年，以此类推。</td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="v8api2.js.html">v8api2.js</a>, <a href="v8api2.js.html#line189">line 189</a>
    </li></ul></dd>
    

    

    

    
</dl>















<h5>Returns:</h5>

        
<div class="param-desc">
    返回数据集时间集合，失败返回null。
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="DateTimeCollection.html">DateTimeCollection</a></span>


    </dd>
</dl>

    




    <h5>Example</h5>
    
    <pre class="prettyprint"><code>const dtcollections=pe.RemoteBuildDtCollections("FY3D/MERSI/L2/NVI/MON",20200101000000,1,20231231000000,0,"",0,0,0,0,0) ;</code></pre>



        
            

    

    
    <h4 class="name" id="StackDatasets"><span class="type-signature"></span>StackDatasets<span class="signature">(datasetArray)</span><span class="type-signature"> &rarr; {<a href="Dataset.html">Dataset</a>}</span></h4>
    

    



<div class="description">
    将多个瓦片数据按出现顺序组合成多波段瓦片数据。
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>datasetArray</code></td>
            

            <td class="type">
            
                
<span class="param-type">*</span>


            
            </td>

            

            

            <td class="description last">数据集数组。</td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="v8api2.js.html">v8api2.js</a>, <a href="v8api2.js.html#line215">line 215</a>
    </li></ul></dd>
    

    

    

    
</dl>















<h5>Returns:</h5>

        
<div class="param-desc">
    返回合成后的瓦片数据，返回结果的波段数等于输入数据的波段之和。如果失败返回null，如果有一个dataset为null也会失败并返回null.
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="Dataset.html">Dataset</a></span>


    </dd>
</dl>

    




    <h5>Example</h5>
    
    <pre class="prettyprint"><code>let new3BandsDataset = pe.StackDatasets([dataset0, dataset1, dataset2]) ;</code></pre>



        
            

    

    
    <h4 class="name" id="geomById"><span class="type-signature"></span>geomById<span class="signature">(wktId)</span><span class="type-signature"> &rarr; {<a href="Geometry.html">Geometry</a>}</span></h4>
    

    



<div class="description">
    通过wktId从后台获取wkt字符串并构建几何体。
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>wktId</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">与后台约定好的wkt标识，建议采用文件路径的格式进行定义，建议增加扩展名.wkt。</td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="v8api2.js.html">v8api2.js</a>, <a href="v8api2.js.html#line234">line 234</a>
    </li></ul></dd>
    

    

    

    
</dl>















<h5>Returns:</h5>

        
<div class="param-desc">
    返回几何体对象，失败返回null。
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="Geometry.html">Geometry</a></span>


    </dd>
</dl>

    




    <h5>Example</h5>
    
    <pre class="prettyprint"><code>let geometry=pe.geomById("some/dir/geom.wkt") ;</code></pre>



        
            

    

    
    <h4 class="name" id="geomByWkt"><span class="type-signature"></span>geomByWkt<span class="signature">(wktText)</span><span class="type-signature"> &rarr; {<a href="Geometry.html">Geometry</a>}</span></h4>
    

    



<div class="description">
    通过输入wkt字符串构建一个几何体对象.
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>wktText</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">wkt格式字符串。</td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="v8api2.js.html">v8api2.js</a>, <a href="v8api2.js.html#line225">line 225</a>
    </li></ul></dd>
    

    

    

    
</dl>















<h5>Returns:</h5>

        
<div class="param-desc">
    返回几何体，失败返回null。
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="Geometry.html">Geometry</a></span>


    </dd>
</dl>

    




    <h5>Example</h5>
    
    <pre class="prettyprint"><code>let geometry=pe.geomByWkt("POINT(120 30)");</code></pre>



        
            

    

    
    <h4 class="name" id="log"><span class="type-signature"></span>log<span class="signature">(text)</span><span class="type-signature"></span></h4>
    

    



<div class="description">
    打印日志信息到后台。后台可以理解为java程序，通过该接口打印的日志会传递给java的后台程序，用于提供给客户额外错误信息。
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>text</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last"></td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="v8api2.js.html">v8api2.js</a>, <a href="v8api2.js.html#line242">line 242</a>
    </li></ul></dd>
    

    

    

    
</dl>



















    <h5>Example</h5>
    
    <pre class="prettyprint"><code>pe.log("Hello world.");</code></pre>



        
    

    

    
</article>

</section>




</div>

<nav>
    <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Dataset.html">Dataset</a></li><li><a href="DateTimeCollection.html">DateTimeCollection</a></li><li><a href="Geometry.html">Geometry</a></li><li><a href="PixelEngine.html">PixelEngine</a></li></ul><h3>Global</h3><ul><li><a href="global.html#pe">pe</a></li></ul>
</nav>

<br class="clear">

<footer>
    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Thu May 23 2024 09:47:55 GMT+0800 (中国标准时间)
</footer>

<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>